<template>
  <!-- 单选题 -->
  <div class="zxb-relative">
    <div class="labetext"></div>
    <pre class="zxb-pre">{{csmwjtitle.value}}</pre>
    <span v-if="csmwjshowscore.method=='oneanswer' && csmwjshowscore.showscore===true">({{csmwjshowscore.oneanswer.score}}
      分)</span>
    <div v-if="csmwjimages!=null">
      <span v-for="item in csmwjimages.value" style="padding: 5px;">
        <el-image style="width: 50px; " :src="item.url" fit="fill"></el-image>
      </span>
    </div>
    <div>
      <el-radio-group v-model="value" style="width:80%">
        <slot v-slot:options></slot>
      </el-radio-group>
    </div>
  </div>

</template>

<script>
  export default {
    props: {
      csmwjtitle: {
        type: Object
      },
      csmwjimages: {
        type: Object
      },
      csmwjshowscore: {
        type: Object
      }
    },
    data() {
      return {
        value: null
      }
    },
    mounted() {
      //let this = that;
    },
    destroyed() {

    },
    methods: {

    }
  }
</script>
